#!/bin/bash
for mp in $(df -a | tac | grep -v '^/dev/' | grep -o '/mnt/lfs/.*$'); do
	if [ -e $mp ]; then
		echo "unmount: $mp [$(umount -v $mp || exit 1)]";
	fi
done;
